package com.briup.pts.config.auth;

import java.util.HashMap;
import java.util.Map;

/**
 * @author wyq
 * @description TODO
 * @data 2025/5/14 11:44
 */
public class TokenMapContext {
    private static final Map<String,String> TOKEN_MAP = new HashMap<>();

    public static void put(String accountId,String token){
        TOKEN_MAP.put(accountId,token);
    }

    public static String get(String accountId){
        return TOKEN_MAP.get(accountId);
    }

    public static void remove(String accountId) {
        TOKEN_MAP.remove(accountId);
    }
}
